package com.qys.erp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓库管理对象 erp_store
 * 
 * @author qys
 * @date 2021-06-18
 */
public class Store extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long storeId;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String storeSn;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String storeTitle;

    /** 联系人 */
    @Excel(name = "联系人")
    private String storeName;

    /** 电话 */
    @Excel(name = "电话")
    private String storePhone;

    /** 地址 */
    @Excel(name = "地址")
    private String storeAddress;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String storeStatus;

    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setStoreSn(String storeSn) 
    {
        this.storeSn = storeSn;
    }

    public String getStoreSn() 
    {
        return storeSn;
    }
    public void setStoreTitle(String storeTitle) 
    {
        this.storeTitle = storeTitle;
    }

    public String getStoreTitle() 
    {
        return storeTitle;
    }
    public void setStoreName(String storeName) 
    {
        this.storeName = storeName;
    }

    public String getStoreName() 
    {
        return storeName;
    }
    public void setStorePhone(String storePhone) 
    {
        this.storePhone = storePhone;
    }

    public String getStorePhone() 
    {
        return storePhone;
    }
    public void setStoreAddress(String storeAddress) 
    {
        this.storeAddress = storeAddress;
    }

    public String getStoreAddress() 
    {
        return storeAddress;
    }
    public void setStoreStatus(String storeStatus) 
    {
        this.storeStatus = storeStatus;
    }

    public String getStoreStatus() 
    {
        return storeStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("storeId", getStoreId())
            .append("storeSn", getStoreSn())
            .append("storeTitle", getStoreTitle())
            .append("storeName", getStoreName())
            .append("storePhone", getStorePhone())
            .append("storeAddress", getStoreAddress())
            .append("storeStatus", getStoreStatus())
            .toString();
    }
}
